break promises on error fix #37