Make sure merges are performed in the background to not block the main thread.