Make ScheduleClose() idempotent

See eventmachine/eventmachine#445. This fixes an issue that causes the EM reactor to spin in a tight loop, using 100% of one CPU core.