rfcomm, sched/wait: Fix broken wait construct