change: stdin function's first return value behavior has been changed.
change: close method removed and kill method has been added.