Not throwing socket exceptions
Setting socket to nonblocking