Add method to check if server process is running.