wrap subscribe/fetch callbacks in try catch