(CDAP-532) Fix router the close client connections prematurely.