Fix handling of broken connection to Piksi.

This prevents the console from putting my system load to 2 and eating all my memory if the Piksi gets disconnected.