Changed the error message on sending when connection is disconnected

#2386
Modified the error message for sending data when connection is disconnected

#2386
Removed an extra space from the error message

#2386