Closed characteristics on non-compact hypersurfaces in $${\mathbb {R}^{2n}}$$