dont_wait error needs differnt type returned for recv