Modified the client to add a sync timeout when the producer capacity is
reached.