Updated example of blocking signals.