Change delay calculation as difference between two timestamps