Batch requests and avoid posting data if no session is running.