handling no connection