title: loopback external methods are slow
body: <p>I have added a remote method to my Image model. Everything used to work well until i decided to update the loopback npm package. </p>
  
  <p>The remote method is very slow and I can see the following pending request in the network tab.</p>
  
  <p><img src="https://i.stack.imgur.com/mgtJP.png" alt="enter image description here"></p>
  
  <p>I don't know what exactly has changed; I even re-installed the npm packages I had when everything was running well but the issue is still there. </p>
  
  <p>I tried added some breakpoints to my remote method as well, but it takes some time to hit them.</p>
  
  <p>It seems like there is a cpu bound operation that blocks the thread.</p>