Try to synchronize postgresql and oarserver with sleep...