Make static.
Add signal handler.
Update WRT signal handler.