Clean up server packet handler.