app: we need to connect to the local process server earlier

If we are starting the local process server ourselves, we need it
in require_models as the model files are very likely to call
using_task_library which gets its models from the process server