sleep is not working for sqlite for some reason