Reconnection bug fixes for the Squeezebox Server IO bundle

Added better thread synchronisation handling.