changed timeout to 1 sec from 3 sec