Parallel sampling without pickle in version 4.0.0b3

A way I solved this problem is explained here