This is an example to demonstrate issues with cordova, threads and pusher.