Hartlepool United took a significant step towards securing their National League status for another season, ending a run of eight games without a win thanks to a 4-1 victory over a resurgent Boston.