allow to interrupt the sleeping scheduling thread
Merge branch 'fta1.31'