Mutes annoying socket closed error.