Bugfix: task locking race condition frontend