fixed closing
reduced connection exceptions