Changed the timeout to 1 second.