Make the timeout handling in cloudi_service_tcp and cloudi_service_udp consistent.