Fixed bug causing hang

See this forum for details:
http://social.msdn.microsoft.com/Forums/windowsapps/en-US/bab5177b-c08c-4804-856b-2c15189527f3/windows-81-bluetooth-low-energy-gatt-javascript-event-handler-hangs