Title: On a stochastic control problem with terminal state constraints