fix bug in jabberbot when loosing connectivity