Close library before multiprocess runs.