Simple fix for bug with periodic runner

Added timeout for multiprocessing threads sync.

Change-Id: I834413a485dcf4bd2f0d70c635edeeb2ea238598
Related-Bug: #1300687