using multiprocessing module instead of threading module

Change-Id: Ie395819304b8f5f5307e1a661bf51a27fd9e589f