stop the server from dying when sending to closed channel