clean-up, media errors, socket.io