- updated timeout to 3 seconds.
- fixed bug with timeout