timecount=500
timeclose=1
とかにしたほうが良いんじゃないの?