Remove old (and useless) sub_app
Add a config property that will serialize requests

The SERIALIZE_REQUESTS config property will force a single application
to only execute one request at a time, by wrapping the handler function
in a lock.