diff --git a/lib/statsd.js b/lib/statsd.js
index <HASH>..<HASH> 100644
--- a/lib/statsd.js
+++ b/lib/statsd.js
@@ -358,7 +358,7 @@ Client.prototype.sendMessage = function (message, callback) {
     return;
   }
 
-  if (!this.socket) {
+  if (!this.socket && callback) {
     return callback(new Error('Socket not created properly. Check previous errors for details.'));
   }
Check callback is set when socket not set