remove emission of failure on timeout and cleanups
update test cases
update api docs