add constructor for Waypoint
try to finalize HTTP connection gracefully