Close idle tcpdrains

Fixes a couple bugs.