There seem to be a lot of sleeps, elasticsearch shouldn't need this or else we're doing something wrong