Add signal receiver for issue #19.