Add ioloop.close() to managed ioloop shutdown to prevent file handle leaks