changed timeout to 5 seconds.