fixed issue with foursquare; included sleep timer betwen each terminal call