Close idle tcpdrains

Same changes done recently in #76, but applied to the TCP drains module.