Catch hook exception waiting to better way