contol: check if server is running before starting