Adjusts keepalive timeout to match config file instead of hard-coded value