added attach, timeout & abort methods
updated dist