Add timeout to app start code

Also improve logging when an app fails to start
[#66267408]