title: How to stop AWS Lambda [Nodejs]
body: <p>I have a function within AWS Lambda uses runtime <code>Node.js 6.10</code>. Lambda runs my code fine but continues "executing" even though the code is completed. What I would like to happen is that Lambda stops when the code is completed. I have my logs below to see if anyone can see what the issue is. Note my callback to end the function returns <code>success</code></p>
  
  <p><code>
  {
    "errorMessage": "2017-12-07T17:50:55.618Z e4a5bb77-db76-11e7-b2e6-514284a81613 Task timed out after 120.09 seconds"
  }</code></p>
  
  <p><code>
  START RequestId: e4a5bb77-db76-11e7-b2e6-514284a81613 Version: $LATEST
  2017-12-07T17:48:55.527Z    e4a5bb77-db76-11e7-b2e6-514284a81613    -L-llvVALjYpyUV0M6EG //gotten from code
  2017-12-07T17:48:58.652Z    e4a5bb77-db76-11e7-b2e6-514284a81613    http://www.loopnewsbarbados.com/content/bitcoin-worth-millions-stolen-days-us-exchange-opens-1 //gotten from code
  2017-12-07T17:49:01.150Z    e4a5bb77-db76-11e7-b2e6-514284a81613    crisis, //gotten from code
  2017-12-07T17:49:01.232Z    e4a5bb77-db76-11e7-b2e6-514284a81613    success //successful callback
  END RequestId: e4a5bb77-db76-11e7-b2e6-514284a81613
  REPORT RequestId: e4a5bb77-db76-11e7-b2e6-514284a81613  Duration: 120093.31 ms  Billed Duration: 120000 ms  Memory Size: 128 MB Max Memory Used: 34 MB<br>
  2017-12-07T17:50:55.618Z e4a5bb77-db76-11e7-b2e6-514284a81613 Task timed out after 120.09 seconds
  </code></p>