Added try-except to socket.accept methods. Added 'waiting for BB' print.