A barrier function approach to finite-time stochastic system verification and control. (March 2021)