Dispose nodejs bot when close the application