Fix server ping on empty lines