Add option for setting keep alive timeout. Off by default.