making _write callback

cleaning up

removing set interval

cleaning up
travisplexer: pr-293-linux travis ci test