safety for threads -- forbit more than one linear problem, and test
for that