increase timeout to 5 seconds instead of 0.01 seconds