don't cache element if mehtod execution was failed

If an unchecked exception was thrown during the method execution, element cache locks will not be released. So, when the same method will be executed next time, LockTimeoutException will be thrown instead of trying to execute method.
It hides the original exception and makes impossible to fix exceptions live without restarting the server.