minimal example for using a remote server during spawn