Fix. put_timeout.
Change. use only gettimeofday for timeout.