probably better
adding support for timeout for a connection