Created handler for SIGUSR2 (will be used to communicate with nodes) and blocked it in parent thread.