Check for socket status on read as well as send