fixed getUserConenction() in connection close error handler