Task-4273, fix apply_assync method if transaction.is_managed() is False