decreasing connection reference count after sending a message