Transient forces in flowing soft matter