Block signals early to prevent race condition