Removed the _disposed variable and put a lock around the code section.