Fixed not closed Reader in OSGi module