Pass app() to 'blocked' sub