Fix deadlock on pac runtime execution