catch more socket crashes; bugfix in handle_topic tool