sleep + log exception