Tested with NodeJs 8.x and 10.x in AWS Lambda and local Ubuntu.
It appears the end() method does not close connections at all - it still is possible to get/set without any problem which leads to unexpected behaviour such as lambda functions timing out while everything has been processed successfully and the final callback has been called.
Tested with NodeJs 8.x and 10.x in AWS Lambda and local Ubuntu. It appears the end() method does not close connections at all - it still is possible to get/set without any problem which leads to unexpected behaviour such as lambda functions timing out while everything has been processed successfully and the final callback has been called.