added open connection check