Man jailed following foiled servo robbery