crashes: eliminate crashes due to disconnecte switches

Fixes problems in the logical threads for packet out sending and policy
updating. There may still be more issues in the event handling thread.
crashes: remove debug output

This is already displayed at a separate layer.