check if valid lastfm connection before searching - issue #243