Shorten KEEP_ALIVE.
Impose a maximum stream duration of 5 minutes to work around heroku limitation.