changed logic which defines NOBLOCK
updated version to 0.5.0