Process control flow

These routines allow the application to schedule its actions around its interaction with a server: