This commit also adds a sample of how to use the synchronized decorators of item readers and writers. Resolves #3646