Multiprocess support - Fixed a bug caused by pickle