Run sync-to-megatest.db instead of in process sync when sync time exceeds 300 ms.