fixed bug with killing alive connections