People who want to plug gaps in their National Insurance record to maximise their State Pension have been warned they are running out of time.