delay processing next frame until the previous has completed