This device will automatically stop the recording in the session view after the selected amount of bars. This feature is by default not available in Ableton but it is included in Push.
You can just drop the device in any track and it will work in the whole project while it is on.
.zip file containing the device and license. Copy it to your max for live devices folder and you´re done!