regs #147 - refactored gcs closing to be able to do emergency close from...

... gcs_recv_thread