Add timeout for permission requests to set pending state.
1.9.0