Added autoclose to sta

Change-Id: I4f506e5e6eff774a491b4381c71071a8a54fb0c3
Signed-off-by: Andrey Shamis <lolnik@gmail.com>