Force keep-alive when write side shutdown

After shutdown the write side, no other reliable way to detect another
side alive. So, force keepalive unless user enabled keepalive manually.