Fix handler exception on first startup without internet connection