method

cleanup

cleanup(generation, thread = Thread.current, generation_key = @generation_key)
public

Finishes all connections on the given thread that were created before the given generation in the threads generation_key list.

See #shutdown for a bunch of scary warning about misusing this method.