Implemented timeouts for clients