cleanup function added
return error if radius not reacheable