add timeout argument to spec_index_from_service

This timeout (float) is passed to rospy's
wait_for_service call