Finally a blocking method that works for cloud sql