More than 40% of GPs intend to quit within five years