Remove select test call. Nothing prevent a socket from being closed
while attached to a task anyway..