added sleep on mani server loop