Control of freewheel clutches