Fix lint warnings and handle unpickle error in multiprocess server.