Handle multipule PhantomJS instances in an asynchronous way