Revert "Fixed a bug that sometimes use quit command from gdb will not quit cgdb."

This reverts commit aecc242f7fab048cd7b65b486fda92c4db3a92a2.

This was reverted because it was believed that it fixed issue #1 and #5.

I've now properly fixed this in fix for #46.