add waitListening to baresshd example