timeout() fix