Studies of ion leakage from a Penning trap induced by potential barrier closure