BLK-98 Adds a lock around the loop in process_signals and around backup logic

Signed-off-by: Oren Leiman <oleiman@neutral.io>