diff --git a/lib/wns.js b/lib/wns.js
index <HASH>..<HASH> 100644
--- a/lib/wns.js
+++ b/lib/wns.js
@@ -156,8 +156,10 @@ var obtainAccessToken = function (context) {
 	// queue up the context until the accessToken is obtained
 
 	var key = getClientKey(context);
-	if (pendingNotifications[key])
+	if (pendingNotifications[key]) {
 		pendingNotifications[key].push(context);
+		return;
+	}
 	else
 		pendingNotifications[key] = [ context ];
Fix simultaneous send requests while obtaining token

If you are sending a push notification for the first time, a token will be retrieved. During that time, if you attempt to send another message, it gets queued, but produces a fatal error. This is because a new request for a new token is made.