Is there a way to set a query timeout in oracle?

Is there a way to cancel running query if it exceeds more than centain time limit (say 2mins.)?