connection: (Try to) beep the right number of times, if there are multiple in the string