Close if no need to recompile

Signed-off-by: Hamed Nemati <hitech.innovative@gmail.com>