allow use timeouts for socket