Fix return value of main in server code