Prevent keep-alive connections if keepAlive option is false