Implemented timeouts