Added :timeout parameter to Container#attach