1. A method of executing a thread managed by a runtime having at least one service function reference to a service function, the method comprising: determining whether the service function comprises a blocking capability; if the thread is operating in a safe mode and the service function comprises a blocking capability, redirecting the at least one service function reference to an abort function; and executing the thread through the runtime with the at least one service function reference.