Avoid corrupting pid file when screen -list resturns extra lines