The decision comes ahead of the company’s functions being taken over by Great British Railways.