Cost effective management of stochastic coastal water pollution