Rework signal handling during procedure for stability

Before, it misfunctioned in Gnome Terminal - whdd just got terminated on Ctrl+C