move matching/merge actions into background task