cleared the bug with unclosed connection