removed connection check on close