Fix stopping Bane with Ctrl-C on Ruby 2.0+

Before this fix, sending CTRL-C would cause the process to abort with an error like "gserver.rb:116:in synchronize': can't be called from trap context (ThreadError)".  This fix is as recommended via https://bugs.ruby-lang.org/issues/7648