Use Threads instead of multiprocessing

I'm submiting this patch as multiprocessing is not working in Kivy.

This also have the advantage of being lightweight than multiprocessing.