Stochasticity and time symmetry breaking in Hamiltonian dynamics