httplite: check if thread was interrupted before proceeding with server shutdown optimization.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1228774 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/httplite/minimum/src/main/java/org/apache/felix/httplite/osgi/HttpServiceFactoryImpl.java b/httplite/minimum/src/main/java/org/apache/felix/httplite/osgi/HttpServiceFactoryImpl.java
index 295880c..922a8db 100644
--- a/httplite/minimum/src/main/java/org/apache/felix/httplite/osgi/HttpServiceFactoryImpl.java
+++ b/httplite/minimum/src/main/java/org/apache/felix/httplite/osgi/HttpServiceFactoryImpl.java
@@ -138,7 +138,7 @@
                     {
                         Thread.sleep( 1000 * 30 );
                         
-                        if (m_registrations == null || m_server == null)
+                        if (m_registrations == null || m_server == null || Thread.interrupted())
                         {
                             return;
                         }