Added back sync'ing to megatest.db but with simple file locking and much longer delay