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

ERRORcannot startup instance when procedures in DBMS_WORKLOAD_CAPTURE or DBMS_WORKLOAD_REPLAY are in the middle of their execution
CAUSEThe new instance could not be started because the database was executing a procedure in either the DBMS_WORKLOAD_CAPTURE or DBMS_WORKLOAD_REPLAY package.
ACTIONStart the new instance after such procedures in the given packages have finished execution.