Removed unnecessary ros::spin()