The state-dependent M / G / 1 queue with orbit