close socket on exception
include mplayer config