Add Cool.io 1.2 or later support in network related input plugins

To reduce shutdown time.