invoke mainwindow.quit only from parent pid
because the fork happens after the registration of the signal handler,
all children processes were inheriting the handler (and being passed a
reference to the mainwindow object, ugh...)
call soledad close