From cs low to the out of data the maximum time delay is 70 ns. you are using 5 ms. play with that delay using pauseus.
See data sheet timing table.
Cheers

Al.