Catch runtime error when disconnecting old editor's signals.

Should fix OpenCobolIDE/OpenCobolIDE#89