Bugfix thread locking issue in adamio recipe