tests: increase limit of open files
iocore: close old socket on `shutdown` call