only sleep if delay is positive
first shutdown player, otherwhise this hangs shairport on OpenBSD
clean up socket creation
move close(server_sock) to rtp_shutdown too
glitch fix trial, mutex in put_packet