Removed redundant closed member variable.

This varible is redundant since the work queue also has
a closed member varible with can be read with is_closed()
and set with close().