Socket: Only catch select.error if it is an interupted system call.