Fixed graceful shutdown when running GeventSocketIOWorker with gunicorn.

The old behavior always causes graceful_timeout to elapse instead
of allowing free workers to terminate immediately.