Added hacky sleep to abide by API rules