fixed jobprovider teardown breaking in mono.