Oracle Solution for Error ora-15503

Solution for Oracle Error ORA-15503

ORA-15503: cannot startup instance when procedures in "DBMS_WORKLOAD_CAPTURE" or "DBMS_WORKLOAD_REPLAY" are in the middle of their execution

What triggered the Error:

The new instance could not be started because the database was executing a procedure in either the DBMS_WORKLOAD_CAPTURE or DBMS_WORKLOAD_REPLAY package.

What should we do to fix it:

Start the new instance after such procedures in the given packages have finished execution.