Add basic producer consumer using synchronize