Use this.cordova.getThreadPool() instead of creating your own.