[FIX] closed conn. error handling