changed sleep time to avoid losing session