Clean up of packet handler and entity spaceship