beacon-handler: don't screw up the connection