Removed rospy.spin() from listener code.