When the `keep-alive` is not set, close the connection on the noos-api side instead of the platform side.